/**
 * html-plugin
 */
import { createHtmlPlugin } from 'vite-plugin-html';
export default (env) => {
  const { VITE_APP_TITLE } = env;
  return createHtmlPlugin({
    minify: true,
    inject: {
      data: {
        VITE_APP_TITLE,
      },
    },
  });
};
